package com.firewolf.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.firewolf.dao.PsersonDao;
import com.firewolf.entites.Person;

@Service
@Transactional
public class PersonService {
	
	private PsersonDao dao;
	
	public void addPerson(Person p1,Person p2){
		dao.addPerson(p1);
		dao.addPerson(p2);
	}
}
